package com.ase.redislike.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author： yuhang
 * @Date： 2021/11/9
 * @Description：
 */
@ConfigurationProperties(prefix = "redis-like")
@Component
@Data
public class DateSourceConfig {
    private int id;
    private String name;
    private int age;
    private String phone;
    private int gender;

}
